﻿using BasicInformation.Dtos;
using BasicInformation.ErrorCode;
using MediatR;
using SqlSugar;

namespace BasicInformation.ApiRead.Application.Command.Depot
{
    /// <summary>
    /// 显示查询分页请求类
    /// </summary>
    public class GetDepotCommand:IRequest<ApiPaging<DepotDTO>>
    {
        public int index = 1;
        public int size = 15;
        /// <summary>
        /// 仓库编号(自动生成)
        /// </summary>
        public string? DepotCode { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string? DepotName { get; set; }
        /// <summary>
        /// 仓库类型Id(主键标识)
        /// </summary>
        public int? DTypeId { get; set; }
        /// <summary>
        /// 所属 部门
        /// </summary>
        public int? Department_Id { get; set; }
    }
}
